import Layout from '@/views/layout/Layout'

const route = {
  path: '/member',
  redirect: '/member/list',
  component: Layout,
  alwaysShow: false,
  hidden: false,
  meta: {
    title: '会员管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/member/list'),
      name: 'MemberList',
      hidden: false,
      meta: {title: '会员列表'}
    },
    {
      path: 'his/:id',
      component: () => import('@/views/member/hislist'),
      name: 'MemberHisList',
      hidden: true,
      props: true,
      meta: {title: '会员操作记录'}
    }
  ]
}

export default route
